package com.sunwayworld.basemodule.business.ordertask.resource;

import com.sunwayworld.framework.log.annotation.Log;
import com.sunwayworld.framework.log.annotation.LogType;
import com.sunwayworld.framework.restful.data.RestJsonWrapperBean;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RequestMethod;

@RequestMapping("/secure/basemodule/business/run-boards")
public interface LimsRunBoardResource {

    @Log(value = "分配位置")
    @RequestMapping(value = "/update-samples-batch", method = RequestMethod.POST)
    String updateSampleLocations(RestJsonWrapperBean wrapper);

    @Log(value = "清空样本位置")
    @RequestMapping(value = "/clean-samples", method = RequestMethod.POST)
    void clearSampleHole(RestJsonWrapperBean wrapper);

    @Log(value = "更新单个样本孔位信息", type = LogType.UPDATE)
    @RequestMapping(value = "/update-samples-single", method = RequestMethod.POST)
    void updateSampleBoardHole(RestJsonWrapperBean wrapper);
}
